package com.gsoe.problem.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class ProblemDTO {

    private Long id;
    /**
     * 题目类型：1:单选 2:填空 3:判断 4:多选 5:大题
     */
    @NotNull
    private Integer type;

    /**
     * 题目描述
     */
    @NotNull
    private String problemDescribe;

    private String problemCode;

    /**
     * 解析
     */
    private String analysis;

    /**
     * 难度，1:eazy 2:medium 3、hard
     */
    @NotNull
    private Integer difficulty;
    @NotNull
    private List<String> answer;

    private List<Long> knowledgeList;

    private List<String>optionDescribe;

    private String codeLanguage;
    /**
     * 是否公开
     */
    private boolean visible;
}
